<!DOCTYPE html>
<html lang="en">
    <head>
        {%- block site_meta %}
            <meta charset="utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <meta content="Bmob,BmobCloud,bomb,BaaS,mBaaS,PaaS,Serverless,FaaS,Function as a Service,Backend as a Service,serverless computing,cloud function,后端云,bmob后端云,小程序云,小程序后端,云数据库,云存储,文件存储,云函数,云端代码,定时任务,游戏后端,游戏云,用户系统,无服务器函数,移动开发,app开发,小程序开发,云端一体化,互联网中间件" name="keywords"/>
            <meta content="国内首家专注于移动应用Serverless云服务的平台,Bmob后端云让移动开发更简单,全方位一体化的后端服务平台" name="description"/>
            {% if page and page.is_homepage %}<meta name="description" content="{{ config['site_description'] }}">{% endif %}
            {% if config.site_author %}<meta name="author" content="{{ config.site_author }}">{% endif %}
            {% if page and page.canonical_url %}<link rel="canonical" href="{{ page.canonical_url }}">{% endif %}
            {% if config.site_favicon %}<link rel="shortcut icon" href="{{ base_url }}/{{ config.site_favicon }}">
            {% else %}<link rel="shortcut icon" href="{{ base_url }}/img/favicon.ico">{% endif %}
        {%- endblock %}
        
        <script type="text/javascript" src="//game.bmob.cn/static/doc_union.js"></script>

        {%- block htmltitle %}
            <!--
            <title>{% if page and page.title and not page.is_homepage %}{{ page.title }} - {% endif %}{{ config.site_name }}</title>
            -->
            {% if page and page.title and not page.is_homepage %}<title>{{ page.htmlTitle }} </title>  {% endif %}      
            {% if page.is_homepage %}<title>{{ config.site_name }} </title>  {% endif %}                   
        {%- endblock %}


        {%- block styles %}
            <link href="{{ base_url }}/css/bootstrap-custom.min.css" rel="stylesheet">
            <link href="{{ base_url }}/css/font-awesome-4.5.0.css" rel="stylesheet">
            <link href="{{ base_url }}/css/base.css" rel="stylesheet">
            <link rel="stylesheet" href="{{ base_url }}/css/highlight.css">
            <link href="{{ base_url }}/css/agate.css" rel="stylesheet">
            <link href="{{ base_url }}/css/custom.css" rel="stylesheet" id="custom">
            {%- for path in extra_css %}
            <link href="{{ path }}" rel="stylesheet">
            {%- endfor %}
        {%- endblock %}
    </head>

    <body {% if page and page.is_homepage %} class="homepage"{% endif %}>

        {% include "nav.html" %}

        <div class="pagebody" id="main-wrapper">
            <div class="sidebar">
                {% include "toc.html" %}
            </div>
            <div class="content" role="main">
                <div class="wrap">
                    {% include "content.html" %}
                </div>
            </div>
        </div>

        {% if 'search' in config['plugins'] %}{%- include "search-modal.html" %}{% endif %}

        {%- block scripts %}
            <script>var base_url = '{{ base_url }}';</script>
            <script src="{{ base_url }}/js/jquery-1.10.2.min.js"></script>
            <script src="{{ base_url }}/js/bootstrap-3.0.3.min.js"></script>
            <script src="{{ base_url }}/js/highlight.pack.js"></script>
            <script src="{{ base_url }}/js/main.js"></script>
            <script src="{{ base_url }}/js/base.js"></script>
            {%- for path in extra_javascript %}
                <script src="{{ path }}"></script>
            {%- endfor %}
        {%- endblock %}

        <div id="go-top"><i class="fa fa-chevron-up"></i></div>
        <a href="https://docs.bmob.cn/data/Android/a_faststart/doc/index.html" id="back" target="_blank">返回 <br> 旧版</a>
    </body>

</html>
